package com.ling.sdk.live

import android.content.Context
import android.content.Intent
import com.ling.sdk.utils.WeakHandler

interface ILiveUI : INetworkChange {

    fun onActivityResume()

    fun onActivityPause()

    fun onActivityStop()

    fun onActivityFinish()

    fun onUIActivityOnResult(requestCode: Int, result: Int, data: Intent?)

    fun getContext(): Context?

    fun onCleanUp()

    fun handler(): WeakHandler

    fun sendMessage(data: Any)

    fun sendMessageAsync(data: Any)

    fun receiverMessage(any: Any): Boolean


}